package nodes.progress;

import com.jfoenix.controls.JFXProgressBar;
import nodes.NodeHandler;

public class ArchiveProgress implements NodeHandler {
    JFXProgressBar archiveProgress;
    public ArchiveProgress(JFXProgressBar archiveProgress) {
        this.archiveProgress = archiveProgress;
    }

    @Override
    public void handleStyleEvent() {

    }

    @Override
    public void handleEvent() {
        archiveProgress.setOnMouseEntered(event -> archiveProgress.setProgress(0.66));
    }
}
